package com.bohua.intermediary.entity;

import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;
/**
 * 
 * @author qian
 * @email 1415261159@qq.com
 * @date 2019/01/19
 */
@Data
@Builder
public class SysRoleResources implements Serializable {
        /**
         * 
         */
        private Integer id;
        /**
         * 角色，对应角色表的id
         */
        private Integer roleId;
        /**
         * 资源表的id
         */
        private Integer resourcesId;
        /**
         * 修改时间
         */
        @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
        private Date update;
        /**
         * 状态
         */
        private Integer state;
}
